package name.hankc.spring;

import name.hankc.spring.bean.PersonC;

import org.springframework.context.ApplicationContext;
import org.springframework.context.annotation.AnnotationConfigApplicationContext;

public class InjectValueAnnoApplication {

  public static void main(String[] args) throws Exception {
    ApplicationContext ctx = new AnnotationConfigApplicationContext("name.hankc.spring.bean");
    PersonC personC = ctx.getBean(PersonC.class);
    System.out.println("simple value : " + personC);
  }
}